package com.ruoyi.safe.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合作单位-企业资质对象 common_cooperator_qualification
 * 
 * @author ruoyi
 * @date 2023-11-08
 */
public class CommonCooperatorQualification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 合作单位ID */
    @Excel(name = "合作单位ID")
    private Long cooperatorId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 描述 */
    @Excel(name = "描述")
    private String commonDescribe;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    /** 分类状态（0正常 1停用） */
    @Excel(name = "分类状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCooperatorId(Long cooperatorId) 
    {
        this.cooperatorId = cooperatorId;
    }

    public Long getCooperatorId() 
    {
        return cooperatorId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public String getCommonDescribe() {
        return commonDescribe;
    }

    public void setCommonDescribe(String commonDescribe) {
        this.commonDescribe = commonDescribe;
    }

    public void setAttachment(String attachment)
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cooperatorId", getCooperatorId())
            .append("name", getName())
            .append("code", getCode())
            .append("commonDescribe", getCommonDescribe())
            .append("attachment", getAttachment())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
